package com.xd.demo.constant;

import lombok.Getter;

public enum MarriageStatus {
    UNKNOWN("unknown", "未知"),
    UNMARRIED("unmarried", "未婚"),
    MARRIED("married", "已婚"),
    BEREFT_SPOUSE("bereft_spouse", "丧偶"),
    DIVORCE("divorce", "离婚");

    @Getter
    private String code;

    @Getter
    private String remark;

    MarriageStatus(String code, String remark) {
        this.code = code;
        this.remark = remark;
    }
}
